package com.augurit.gzcgwsp.excelimportexport.dao;

import java.util.List;

import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Repository;

import com.augurit.common.base.dao.BaseDao;
import com.augurit.gzcgwsp.excelimportexport.entity.YwRqQyjyxkRqjszrypbqk;

/**
 * 广州市燃气经营许可证许可审批------六、1 人员配备情况
 * @author xgw
 *
 */
@Repository
public class YwRqQyjyxkRqjszrypbqkDao extends BaseDao<YwRqQyjyxkRqjszrypbqk, Long>{

    
    public List<YwRqQyjyxkRqjszrypbqk> qureyData(String acceptNo, Long qyid) {
       Session session=getSession();
       Criteria cri=session.createCriteria(YwRqQyjyxkRqjszrypbqk.class);
       cri.add(Restrictions.eq("acceptNo", acceptNo));
       cri.add(Restrictions.eq("qyid", qyid));
        return cri.list();
    }

}
